package cn.newgrand.netcall.consultant;

import java.util.HashMap;
import java.util.Map;

import javax.swing.Icon;

import org.jivesoftware.spark.SparkManager;

import cn.newgrand.smackx.consultant.ConsultantManager;
import cn.newgrand.smackx.consultant.packet.SpecialistPresence;

public class SpecialistPresenceManager {

	//private static Map<String,SpecialistPresence> map = new HashMap<String,SpecialistPresence>();
	//private static Map<String,String> mapSpidToJid = new HashMap<String, String>();
	
	public static SpecialistPresence getSpecialistPresence(String spid){
		return ConsultantManager.getInstance(SparkManager.getConnection()).getRoster().getPresence(spid);
	}
	
//	public static void putJID(String spid,String jid){
//		mapSpidToJid.put(spid, jid);
//	}
//	public static String getJID(String spid){
//		return mapSpidToJid.get(spid);
//	}
}
